﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace C4F.DevKit.Bluetooth.ServiceAndDeviceDiscovery
{

    /// <summary>
    /// Represents the SOCKET_ADDRESS structure.
    /// </summary>
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    public class SocketAddress
    {
        /// <summary>
        /// A pointer to a socket address.
        /// </summary>
        public IntPtr Sockaddress;
        /// <summary>
        /// The length, in bytes, of the socket address.
        /// </summary>
        public short SockaddressLength;
    }
}
